namespace		:= v8s
env				:=
args			:=
tempDirectory	:= ./target

build:
	rm -fr $(tempDirectory)
	mkdir $(tempDirectory)
	cp -R helm/* $(tempDirectory)
	cp -R environments/$(env)/* $(tempDirectory)

install: build
	V8S_NAMESPACE=$(namespace) ARGS=$(args) $(MAKE) -C $(tempDirectory) install

install-dev: env		= development
install-dev: namespace	= v8s
install-dev: install

